#include "leftwidget.h"

LeftWidget::LeftWidget(QWidget *parent)
        : QWidget(parent)
{
    btn = new QPushButton("OCR交互处理", this);
    connect(btn, &QPushButton::clicked, this, &LeftWidget::onOcrButtonClicked);
}

void LeftWidget::onOcrButtonClicked()
{
    emit ocrRequested(); // 发出信号
}
